<ion-view view-title="合同签订" devin-hide-tabs="true">
  <ion-nav-buttons side="right">
    <span class="nav-right-button" ng-show="isLoadSuccess" ng-click="save()">提交</span>
  </ion-nav-buttons>
  <ion-content>
    <script type="text/ng-template" id="contractSign.html">
      <h1>你好</h1>
    </script>
    <ion-list>
      <ion-item class="item-bg">
        <span class="project-spms-title">{{project.projectNumber}}</span>
      </ion-item>
      <ion-item class="item-bg">
        <img ng-src="img/icon-people.png">
        <span class="project-spms-label">客户名称</span>
        <span class="project-spms-info">{{project.customerName}}</span>
      </ion-item>
      <ion-item class="item-bg">
        <img ng-src="img/icon1.png">
        <span class="project-spms-label">客户联系人</span>
        <span class="project-spms-info" style="min-width: 40%">{{project.contacts}}  {{project.contactsTel}}</span>
      </ion-item>
      <ion-item class="item-bg">
        <img ng-src="img/icon-building.png">
        <span class="project-spms-label">所属地区</span>
        <span class="project-spms-info">{{project.regionDesc}}</span>
      </ion-item>
      <ion-item class="item-bg">
        <img ng-src="img/icon-building.png">
        <span class="project-spms-label">详细地址</span>
        <span class="project-spms-info">{{project.address}}</span>
      </ion-item>
      <ion-item class="item-bg item-input contract-signing">
        <img ng-src="img/icon-pen.png" style="margin-left: 4px">
        <span class="input-label contract-signing-title">收货地址</span>
        <input class="contract-signing-contant" type="text" placeholder="请填写收货地址"  ng-model="contractInfo.address" />
      </ion-item>
      <ion-item class="item-bg item-input contract-signing">
        <img ng-src="img/icon-pen.png" style="margin-left: 4px">
        <span class="input-label contract-signing-title">收货联系人</span>
        <input class="contract-signing-contant" type="text" placeholder="请填写收货联系人" ng-model="contractInfo.contacts" />
      </ion-item>
      <ion-item class="item-bg item-input contract-signing">
        <img ng-src="img/icon-pen.png" style="margin-left: 4px">
        <span class="input-label contract-signing-title">联系人电话</span>
        <input class="contract-signing-contant" type="tel" placeholder="请填写联系人电话" ng-model="contractInfo.phone" />
      </ion-item>
      <ion-item class="item-bg item-input contract-signing">
        <img ng-src="img/icon-pen.png" style="margin-left: 4px">
        <span class="input-label contract-signing-title">合同金额</span>
        <input type="number" class="contract-signing-contant" style="padding-right: 10px;" placeholder="请填写合同金额" ng-model="contractInfo.amount" ng-blur="currencyFilter(contractInfo.amount)" />
        <span style="font-size: 15px;margin-right: 38px;">元</span>
      </ion-item>
      <ion-item class="item-bg item-input contract-signing" ng-click="choiceDate()">
        <img ng-src="img/icon-pen.png" style="margin-left: 4px">
        <span class="input-label contract-signing-title">签订日期</span>
        <span class="contract-signing-contant" style="min-width: 53%;padding-right: 0px!important;font-size: 14px">{{contractInfo.contractDate.substring(0, contractInfo.contractDate.indexOf(" "))}}</span>
      </ion-item>
      <devin-task-item ng-click="goPhoto('CONTRACT_HT')" icon="img/icon-pic.png" placetext="{{CONTRACT_HT}}" label="合同拍照" canchoice="true"></devin-task-item>

      <div class="page-bottom"></div>

      <!--<ion-item>
        <button class="button button-positive button-block" ng-disabled="!isLoadSuccess" ng-click="startConstruction()">合同签订</button>
      </ion-item>-->
    </ion-list>
  </ion-content>
</ion-view>
